/*
 * history.h
 *
 *  Created on: Jan 27, 2012
 *      Author: mbs6597
 */

#ifndef HISTORY_H_
#define HISTORY_H_

typedef struct {
	float *input;
	float *output;
	int zero_index;
	int size;
} History;

History * makeHistory(int size);
void setInput(History* hist, int z, float value);
void setOutput(History* hist, int z, float value);
float getInput(History* hist, int z);
float getOutput(History* hist, int z);
void stepTime(History* hist);
void printhist(History * hist);


#endif /* HISTORY_H_ */
